<?php
#/ auto class loader
function auto_classloader($class_name) 
{
    $filename = strtolower($class_name) . '.php';
    $file = SITE_PATH . 'classes' . DIRSEP . $filename;
    if (file_exists($file) == false) 
    {
        return false;
    }
    include ($file);	
}
spl_autoload_register('auto_classloader');
/*                      */
/*                      */
/*                      */





?>
